﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PwjCy.Lite.Storage
{
    /// <summary>
    /// 数据库驱动
    /// </summary>
    public interface IDriver
    {
        /// <summary>
        /// 获取数据库连接对象
        /// </summary>
        /// <param name="storageContext"></param>
        /// <returns></returns>
        IConnection GetConnection(IStorageContext storageContext);
    }
}
